package gui;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import java.awt.*;
public class Window extends JFrame {
	public void open(int xsize, int ysize, String winName) {
		JLabel jlbHelloWorld = new JLabel(winName);
		add(jlbHelloWorld);
		this.setSize(xsize, ysize);
		setLayout(new FlowLayout());
		setVisible(true);
	}
public void addButton(String text) {
    add(new JButton(text));
	}
}
